package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.base.ResponseResult;
import com.zzyl.dto.NursingLevelDto;
import com.zzyl.vo.NursingLevelVo;

import java.util.List;

/**
 * @Description NursingLevelService
 * @Author zpf
 * @Date 2024-08-27
 */
public interface NursingLevelService {
    /**
     * 3.1 查询所有护理等级
     */
    List<NursingLevelVo> listAll();

    //    3.2新增护理等级
    void insert(NursingLevelDto nursingLevel);

    //     3.3 条件分页查询
    PageResponse<NursingLevelVo> getByPage(String name, Integer status, Integer pageNum, Integer pageSize);

    //3.4 根据id查询护理等级
    NursingLevelVo getById(Long id);

    //3.5 修改护理等级
    void updateNursingLevel(NursingLevelDto nursingLevelDto);

    //3.6 删除
    void deleteNursingLevel(Long id);

    //    启用禁用
    void ResetStatus(Long id, int status);

    //    批量插入护理等级信息
    void insertBatch(List<NursingLevelDto> nursingLevelDtos);
}
